<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style type="text/css">
	div {   width: 100px;
			height: 100px;
			background: blue;
			transition-property: width;
			transition-duration: 5s	;
			transition-timing-function:ease;
		}
	div:hover {	width: 300px;
			    background-color: red;
	}	
	</style>
</head>
<body>
	<div>请把鼠标移动到div，就可以看到过渡效果。</div>	
</body>
</html>
